@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Arial, sans-serif;
  background: rgba(19, 34, 48, 1);
}
::-webkit-scrollbar {
  width: 4px; /* 纵向滚动条*/
  height: 4px; /* 横向滚动条 */
  background-color: #0a1722;
}
/*定义滚动条轨道 内阴影*/
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  background-color: #0a1722;
}

/*定义滑块 内阴影*/
::-webkit-scrollbar-thumb {
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0);
  background-color: $bg-color-parmary;
  border-radius: 3px;
}
label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content {
  background: rgba(66, 185, 131, 0.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: 0.05rem;
  a {
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.main-container {
  background: #1a2956;
  // width: 100%;
  height: calc(100vh - 4px);
}
.app-container {
  padding: 0 20px 40px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center;
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(
    90deg,
    rgba(32, 182, 249, 1) 0%,
    rgba(32, 182, 249, 1) 0%,
    rgba(33, 120, 241, 1) 100%,
    rgba(33, 120, 241, 1) 100%
  );
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: none;
}
.line-with-verticl {
  border-color: $color-light;
  position: relative;
  // &:before {
  //   content: "";
  //   height: 8px;
  //   border-right: 1px solid RGBA(54, 171, 255, 0.7);
  //   position: absolute;
  //   left: 0;
  //   bottom: -4px;
  // }
  // &:after {
  //   content: "";
  //   height: 8px;
  //   border-right: 1px solid RGBA(54, 171, 255, 0.7);
  //   position: absolute;
  //   right: 0;
  //   bottom: -4px;
  // }
}
.wrap-with-halfboder {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  // border:2px solid $color-light;
  // clip-path: polygon(0 0,30px 0,30px 100%,0 100%);
}
.abstatic-height {
  height: 150px;
  // background: linear-gradient(
  //   180deg,
  //   rgba(19, 34, 48, 1) 0%,
  //   rgba(19, 34, 48, 0) 100%
  // );
  background: none;
}
//tsl-custom
.comm-title-withang {
  color: $color-light;
  font-size: 18px;
  margin: 0;
  margin-bottom: 12px;
  i {
    color: rgba(80, 227, 194, 0.5);
  }
}
.el-input__inner {
  // background: rgba(0, 0, 0, 0.3);
  background: #121F45;
  // background: none;
  border-color: rgba(0, 0, 0, 0);
  color: rgba(255, 255, 255, 1);
}
.el-textarea__inner {
  color: $text-color-base;
}
.el-textarea__inner::placeholder {
  color: $text-color-placeholder;
}
.el-input__inner:focus {
  border-color: RGBA(54, 171, 255, 0.7);
}
.el-input__inner::placeholder {
  color: $text-color-placeholder;
}
.el-select .el-input.is-focus .el-input__inner {
  border-color: RGBA(54, 171, 255, 0.7);
}
.el-select .el-input__inner:focus {
  border-color: RGBA(54, 171, 255, 0.7);
}

.el-input__inner:hover {
  border-color: rgba(0, 0, 0, 0);
}
.el-select:hover .el-input__inner {
  border-color: rgba(0, 0, 0, 0);
}
.el-radio-button .el-radio-button__inner {
  background: none;
  background: url('../assets/layout/CombinedShape.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 3px;
}
.el-radio-button__inner {
  background: transparent;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.7);
  font-weight: bold;
  &:hover {
    color: $color-light;
  }
}
.el-radio-button__orig-radio:checked + .el-radio-button__inner {
  color: $color-light;
  box-shadow: none;
  color: #07EEB8;
  border-radius: 0;
  // background: rgba(0, 0, 0, 0.3);
  background: url('../assets/layout/CombinedShape2.png') !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
}
.el-radio-button--mini .el-radio-button__inner {
  background: none;
  background: url('../assets/layout/CombinedShape.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin: 3px;
}
.el-loading-mask {
  background: rgba(0, 0, 0, 0.3);
}
.el-table {
  //  background: #132230;
  // background: #121f45;
  background: none;
  color: rgba(255, 255, 255, 0.7);
}
.el-table th.is-leaf {
  border-bottom: 0;
}
.el-table td {
  border-bottom: 1px solid #0d1630;
}
.el-table thead {
  color: #fff;
}
.el-table th {
  background: rgba(0, 0, 0, 0.3) !important;
}
.el-table tr {
  background: transparent;
}
.el-pagination,
.el-pager li {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
}
.el-pagination .btn-next,
.el-pagination .btn-prev {
  color: rgba(255, 255, 255, 0.7);
  background-color: transparent;
}
.el-pagination button:disabled {
  background: transparent;
}
.el-pager li.btn-quicknext,
.el-pager li.btn-quickprev {
  color: rgba(255, 255, 255, 0.7);
}
.el-pager li:hover,
.el-pagination button:hover {
  color: $color-light;
}

.el-pagination__total,
.el-pagination__jump {
  color: rgba(255, 255, 255, 0.7);
}
.el-pagination__sizes .el-input .el-input__inner:hover {
  border-color: rgba(0, 0, 0, 0.3);
}
.el-table--enable-row-hover .el-table__body tr:hover > td {
  background-color: rgba(0, 0, 0, 0.15);
}
.el-table--striped .el-table__body tr.el-table__row--striped.current-row td,
.el-table__body tr.current-row > td,
.el-table__body tr.hover-row.current-row > td,
.el-table__body tr.hover-row.el-table__row--striped.current-row > td,
.el-table__body tr.hover-row.el-table__row--striped > td,
.el-table__body tr.hover-row > td {
  background-color: rgba(0, 0, 0, 0.15);
}
//  .el-select .el-input .el-select__caret{
//    color: rgba(80, 227, 194, 1);
//  }
.el-button {
  border: 0;
  background: rgba(0, 0, 0, 0.3);
  color: RGBA(54, 171, 255, 0.7);
}
.el-button:focus,
.el-button:hover {
  color: rgba(80, 227, 194, 1);
  border-color: transparent;
  background-color: rgba(0, 0, 0, 0.7);
}
.el-button--text {
  color: $color-light;
  background: transparent;
  &:hover,
  &:focus {
    color: $color-light;
    background: transparent;
  }
}
.el-button--primary:focus,
.el-button--primary:hover {
  background: $bg-color-light;
  color: $text-color-btn;
}
.el-table::before {
  height: 0;
}
.el-select-dropdown {
  // background: #0a1722;
  background: #121F45;
  border-color: rgba(0, 0, 0, 0.3);
}
.el-select-dropdown__item {
  color: rgba(255, 255, 255, 0.7);
}
.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.el-select-dropdown__item.selected {
  color: $color-light;
}
.el-popper[x-placement^="bottom"] .popper__arrow {
  border-bottom-color: rgba(0, 0, 0, 0.3);
}
.el-popper[x-placement^="bottom"] .popper__arrow::after {
  border-bottom-color: rgba(0, 0, 0, 0.3);
}
.el-popper[x-placement^="top"] .popper__arrow {
  border-top-color: rgba(0, 0, 0, 0.3);
}
.el-popper[x-placement^="top"] .popper__arrow::after {
  border-top-color: rgba(0, 0, 0, 0.3);
}
.calendar-list-container .img {
  color: $color-light;
}
.search > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
input {
  background-color: transparent;
}
.el-date-editor .el-range-input {
  color: #fff;
}
.el-range-editor.is-active,
.el-range-editor.is-active:hover {
  border-color: transparent;
}
.el-button--primary {
  //  color:#fff;
  background: $bg-color-parmary;
  color: $text-color-btn;
  border-radius: 0;
}
.el-button--primary:focus,
.el-button--primary:hover {
  background-color: $bg-color-light;
  border-color: transparent;
}
.el-picker-panel {
  color: $color-light;
  background: #0a1722;
  border-color: transparent;
}
.el-time-panel__footer {
  border-color: rgba(80, 227, 194, 0.3);
}
.el-time-panel__btn {
  color: #fff;
  &.confirm {
    color: $color-light;
  }
}
.el-time-panel__content::after,
.el-time-panel__content::before {
  border-color: rgba(80, 227, 194, 0.2);
}
.el-time-spinner__item {
  color: rgba(255, 255, 255, 0.7);
}
.el-time-spinner__item.disabled {
  color: rgba(255, 255, 255, 0.3);
}
.el-time-spinner__item:hover:not(.disabled):not(.active) {
  background: rgba(80, 227, 194, 0.3);
}
.el-time-spinner__item.active:not(.disabled) {
  color: #fff;
}
.el-time-range-picker__body {
  border-color: rgba(80, 227, 194, 0.2);
}
.el-date-range-picker__content.is-left {
  border-color: transparent;
}
.el-date-table th {
  border-bottom-color: transparent;
}
.el-date-table td.in-range div,
.el-date-table td.in-range div:hover,
.el-date-table.is-week-mode .el-date-table__row.current div,
.el-date-table.is-week-mode .el-date-table__row:hover div {
  background-color: transparent;
}
.el-date-table td span {
  color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}
.el-icon-date {
  color: rgba(80, 227, 194, 0.3);
}
.el-date-table td.current:not(.disabled) span {
  background-color: RGBA(54, 171, 255, 0.7);
}
.el-date-table td.in-range div span {
  background-color: rgba(80, 227, 194, 0.2);
  border-radius: 3px;
}
.el-date-table td.end-date span,
.el-date-table td.start-date span {
  background-color: RGBA(54, 171, 255, 0.7) !important;
  color: #fff;
}
.el-date-table td.next-month,
.el-date-table td.prev-month {
  color: rgba(128, 128, 128, 0.5);
}
.el-date-table td.today span {
  color: #fff;
}
.el-date-table td.available:hover {
  color: #fff;
}
.el-picker-panel__icon-btn,
.el-picker-panel__icon-btn:hover {
  color: $color-light;
}
.el-range-editor.is-disabled {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.7);
}
.el-range-editor.is-disabled:focus,
.el-range-editor.is-disabled:hover {
  border-color: transparent;
}
.el-range-editor.is-disabled input {
  background-color: rgba(0, 0, 0, 0);
}
.el-date-editor .el-range-separator {
  color: rgba(255, 255, 255, 0.7);
}
.el-date-table td.disabled div {
  background-color: transparent;
  span {
    color: rgba(255, 255, 255, 0.3);
  }
}
.el-date-picker__header-label {
  color: $color-light;
}
.el-date-picker__header-label.active,
.el-date-picker__header-label:hover {
  color: $color-light;
}
.el-popover,
.el-dropdown-menu {
  background: #0a1722;
  border-color: #000;
}
.el-button--primary.is-disabled,
.el-button--primary.is-disabled:active,
.el-button--primary.is-disabled:focus,
.el-button--primary.is-disabled:hover {
  background-color: $bg-color-disable;
  border-color: $text-color-btn;
}
.el-dropdown-menu__item {
  color: rgba(255, 255, 255, 0.7);
}

.el-dropdown-menu__item--divided {
  border-top-color: #0a1722;
}
.el-dropdown-menu__item:focus,
.el-dropdown-menu__item:not(.is-disabled):hover {
  background-color: rgba(58, 165, 146, 0.3);
  color: #fff;
}
.el-card {
  background: linear-gradient(
    90deg,
    rgba(10, 23, 34, 1) 0%,
    rgba(13, 29, 41, 1) 100%
  );
}
.el-radio__inner {
  background-color: transparent;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3);
}
.el-radio__input.is-checked .el-radio__inner {
  border-color: $color-light;
  background: $color-light;
}
.el-radio__inner::after {
  background-color: #132230;
}
.el-radio__input.is-checked + .el-radio__label {
  color: $color-light;
}
.el-radio {
  color: rgba(255, 255, 255, 0.7);
}
.el-radio-button__orig-radio:disabled + .el-radio-button__inner {
  background-color: transparent;
}
//  .el-table__fixed-body-wrapper{
//     .el-table__body{
//       tr{
//         th:last-child{
//           background: red !important;
//         }
//         td:last-child{
//           // background: rgba(0, 0, 0, 0.3) !important;
//         }
//       }
//     }
//  }
.el-checkbox__inner {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: RGBA(54, 171, 255, 0.7);
  &:hover {
    border-color: $color-light;
  }
  &:after {
    border-color: #132230;
  }
}
.el-checkbox {
  color: rgba(255, 255, 255, 0.7);
}
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: $color-light;
  border-color: $color-light;
}
.el-checkbox__input.is-indeterminate .el-checkbox__inner::before {
  background-color: #132230;
}
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: $color-light;
}
.el-checkbox__input.is-focus .el-checkbox__inner {
  border-color: RGBA(54, 171, 255, 0.7);
}
.el-tree {
  // background: #0a1722;
  background: none;
  color: rgba(255, 255, 255, 0.7);
  // min-height: 70vh;
}
// .el-tree-node__content {
//   background-color: #0a1722 !important;
// }
.el-tree-node__content:hover {
  background-color: rgba(0, 0, 0, 0.3) !important;
}
.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: $color-light;
}
.el-dialog {
  background: #163875;
  position: relative;
}
.el-tabs--card > .el-tabs__header {
  border: none;
  position: relative;
  //  &:before{
  //    content:'';
  //    height: 8px;
  //    border-right: 1px solid rgba(80, 227, 194, 0.3);
  //    position: absolute;
  //    left: 0;
  //    bottom: -4px;
  //  }
  //  &:after{
  //    content:'';
  //    height: 8px;
  //    border-right: 1px solid rgba(80, 227, 194, 0.3);
  //    position: absolute;
  //    right: 0;
  //    bottom: -4px;
  //  }
}
.el-tabs__item {
  color: rgba(255, 255, 255, 0.7);
}
.el-tabs__nav-wrap {
  margin-bottom: 0;
}
.el-tabs__item.is-active,
.el-tabs__item:hover {
  color: $color-light;
}
.el-tabs--card > .el-tabs__header .el-tabs__item {
  background: url('../assets/layout/CombinedShape.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  margin-right: 6px;
  border: 0;
}

// .el-tabs__header {
//   margin: 0 0 20px;
// }

.el-tabs--card > .el-tabs__header .el-tabs__nav {
  border: 0;
}
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
  // background: linear-gradient(-130deg, transparent 0.6em, rgba(0, 0, 0, 0.3) 0);
  background: url('../assets/layout/CombinedShape2.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.el-dialog__header {
  line-height: 20px;

  .el-dialog__title {
    border-left: 4px solid #2bdef5;
    padding-left: 5px;
  }
}

.el-dialog__body {
  color: rgba(255, 255, 255, 0.7);
}
.el-dialog__title {
  color: $color-light;
  //&:before{
  //  color: rgba(80, 227, 194, 0.5);
  //  content: "\E60E";
  //  font-family: element-icons!important;
  //  speak: none;
  //  font-style: normal;
  //  font-weight: 400;
  //  font-variant: normal;
  //  text-transform: none;
  //  line-height: 1;
  //  vertical-align: baseline;
  //  display: inline-block;
  //  -webkit-font-smoothing: antialiased;
  //}
}
.el-input.is-disabled .el-input__inner {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: transparent;
  color: rgba(255, 255, 255, 0.7);
}
.el-input-group__append,
.el-input-group__prepend {
  background-color: $bg-color-parmary;
  border-color: transparent;
  color: $text-color-btn;
}
.el-form-item__label {
  color: #fff;
}

.el-textarea__inner {
  background: rgba(0, 0, 0, 0.2);
  border-color: transparent;
}
.el-textarea.is-disabled .el-textarea__inner {
  background-color: rgba(0, 0, 0, 0.3);
  border-color: transparent;
}
.el-select .el-input.is-disabled .el-input__inner:hover {
  border-color: transparent;
}
.el-button.is-plain:focus,
.el-button.is-plain:hover {
  background: rgba(0, 0, 0, 0.3);
  border-color: transparent;
  color: $color-light;
}
.el-cascader__label {
  color: rgba(255, 255, 255, 0.7);
}
.el-cascader .el-input.is-focus .el-input__inner {
  border-color: #000;
}
.el-cascader-menu {
  border-right-color: rgba(80, 227, 194, 0.2);
}
.el-cascader-menus {
  background: #0a1722;
  border-color: #000;
}
.el-cascader-menu__item {
  color: rgba(255, 255, 255, 0.7);
}
.el-cascader-menu__item.is-active {
  color: $color-light;
  &:after {
    color: $color-light;
  }
}
.el-cascader-menu__item--extensible:after {
  color: rgba(255, 255, 255, 0.4);
}
.el-cascader-menu__item:focus:not(:active),
.el-cascader-menu__item:hover {
  background-color: rgba(0, 0, 0, 0.3);
}
.el-carousel__mask,
.el-cascader-menu,
.el-cascader-menu__item.is-disabled:hover,
.el-collapse-item__header,
.el-collapse-item__wrap {
  background-color: #0a1722;
}
//.el-switch__core{
//  background: rgba(0,0,0,.3);
//  border-color:rgba(0,0,0,.3);
//}
.el-switch.is-checked .el-switch__core {
  border-color: $color-light;
  background-color: $bg-color-parmary;
}
.el-transfer__button i,
.el-transfer__button span {
  color: #fff;
}
.el-transfer__button {
  background: RGBA(54, 171, 255, 0.7);
}
.el-transfer__button.is-disabled,
.el-transfer__button.is-disabled:hover {
  background-color: rgba(0, 0, 0, 0.3);
  border: 0;
  i {
    color: rgba(80, 227, 194, 0.3);
  }
}
.el-color-picker__panel {
  background: #0a1722;
  border: 0;
}
.el-transfer-panel {
  background: #0a1722;
  border: 0;
  border-radius: 0;
  .el-transfer-panel__header {
    background: rgba(0, 0, 0, 0.3);
    border: 0;
    color: RGBA(54, 171, 255, 0.7);
    .el-checkbox {
      .el-checkbox__label {
        color: RGBA(54, 171, 255, 0.7);
        span {
          color: RGBA(54, 171, 255, 0.7);
        }
      }
    }
  }
}
.el-transfer-panel__filter .el-input__inner {
  border-radius: 0;
}
.el-input__prefix,
.el-input__suffix {
  color: rgba(80, 227, 194, 0.3);
}
.el-radio__inner:hover {
  border-color: $color-light;
}
.el-table__fixed-right::before,
.el-table__fixed::before {
  z-index: 0;
  background-color: transparent;
}
.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: #0ba1f8;
}
.el-autocomplete-suggestion {
  border: 0;
  border-radius: 0;
}
.el-autocomplete-suggestion__wrap {
  background-color: #0a1722;
}
.el-autocomplete-suggestion li {
  color: rgba(255, 255, 255, 0.7);
}
.el-autocomplete-suggestion li.highlighted,
.el-autocomplete-suggestion li:hover {
  background-color: rgba(0, 0, 0, 0.3);
  color: $color-light;
}
.el-badge__content {
  z-index: 99;
  background: linear-gradient(
    360deg,
    rgba(248, 107, 86, 0.7) 0%,
    rgba(252, 164, 143, 1) 100%
  );
  border: 0;
}


.el-message-box {
  background: #163875;
  border: 1px solid $bg-color-disable;

  .el-message-box__title {
    color: $text-color-base;
  }

  .el-message-box__message {
    color: $text-color-placeholder;
  }
}

.fulldialog {
  .el-dialog__header {
    display: none;
  }
}